package com.cc.models;

import java.io.Serializable;
import java.util.List;

/**
 * 权限表
 * @author chailinxiao
 *
 */
@SuppressWarnings("serial")
public class Power extends BaseModel implements Serializable{
	
	private int powerId;				// 权限ID
	
	private int powerPId;				// 父权限
	
	private String powerName;			// 权限名称
	
	private String powerExp;			// 权限表达试

	private List<Power> children;		// 子权限
	
	public List<Power> getChildren() {
		return children;
	}
	public void setChildren(List<Power> children) {
		this.children = children;
	}
	public int getPowerPId() {
		return powerPId;
	}
	public void setPowerPId(int powerPId) {
		this.powerPId = powerPId;
	}
	public int getPowerId() {
		return powerId;
	}
	public void setPowerId(int powerId) {
		this.powerId = powerId;
	}
	public String getPowerName() {
		return powerName;
	}
	public void setPowerName(String powerName) {
		this.powerName = powerName;
	}
	public String getPowerExp() {
		return powerExp;
	}
	public void setPowerExp(String powerExp) {
		this.powerExp = powerExp;
	}
}
